package org.soc.timesheet.server.domain.service;
import java.util.List;
import java.util.Set;

import org.soc.timesheet.domain.Emails;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.roo.addon.layers.service.RooService;

@RooService(domainTypes = { org.soc.timesheet.domain.Emails.class })
public interface EmailsService {

	public abstract long countAllEmailses();


	public abstract void deleteEmails(Emails emails);


	public abstract Emails findEmails(Integer id);


	public abstract List<Emails> findAllEmailses();


	public abstract List<Emails> findEmailsEntries(int firstResult, int maxResults);


	public abstract void saveEmails(Emails emails);


	public abstract Emails updateEmails(Emails emails);


	public abstract Page<Emails> findByIdUser(int idUser,
			PageRequest pageRequest);


	public abstract void saveAll(Set<Emails> emailss);

}
